//
//  RemoteControlClient.h
//  IPTV
//
//  Created by Echo on 14-4-18.
//  Copyright (c) 2014年 Echo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DDXML.h"
#import "PokerNetEventhandler.h"

@interface RemoteControlClient : NSObject{
    NSMutableArray *netDataArray;
    PokerNetEventHandler *netEventHandler;
    NSString *ctrlIP, *ctrlPort;
    int ping_time;
    BOOL isConnect;
}
@property(nonatomic, strong) PokerNetEventHandler *netEventHandler;
@property(nonatomic, strong) NSString * ctrlIP,*ctrlPort;

+(RemoteControlClient*)share;
-(void)disConnect;
-(BOOL)isNetConnect;
-(void)openStream;
-(void)c2sPing;
-(void)stopc2sPing;
-(void) startRemoteCmd:(unsigned char)firstBit sec:(unsigned char)SecBit dataStr:(NSString*)datastr;

@end







